iommu: Move IOMMU faults handling into softirq for AMD-Vi.
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 20 Jan 2012 10:20:32 +0000 (10:20 +0000)
committerDario Faggioli <dario.faggioli@citrix.com>
Fri, 20 Jan 2012 10:20:32 +0000 (10:20 +0000)
commit403d341a190f18210f32057059e4c0685b9c423d
tree4e9d907524ef20f892bf58177f81ec9a004b8bd5
parent696f3581a2272cdab7c0ca1f3bedade4934ecc76
iommu: Move IOMMU faults handling into softirq for AMD-Vi.

Dealing with interrupts from AMD-Vi IOMMU(s) is deferred to a
softirq-tasklet, raised by the actual IRQ handler. To avoid more
interrupts being generated (because of further faults), they must be
masked in the IOMMU within the low level IRQ handler and enabled back
in the tasklet body. Notice that this may cause the log to overflow,
but none of the existing entry will be overwritten.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/drivers/passthrough/amd/iommu_init.c